package com.biscuit.page.basicservice.model.enums;

import lombok.Getter;

/**
 * @author biscuit
 * @createTime 2024/5/18 8:29
 */
@Getter
public enum RedisValueExpireTypeEnum {

    VALUE_STRING(1, "string类型"),
    VALUE_HASH(2, "hash类型"),
    VALUE_SET(3, "set类型"),
    VALUE_SORTED_SET(4, "sortedSet类型"),
    VALUE_LIST(5, "list类型"),
    VALUE_BITMAP(6, "bitmap类型"),
    VALUE_HYPERLOGLOG(7, "HyperLogLog类型");

    private final int type;
    private final String desc;

    RedisValueExpireTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

}
